package sun.nan.test.web.action;

import org.apache.log4j.Logger;

import com.opensymphony.xwork2.ActionSupport;

public class ShowParamAction extends ActionSupport {
	private static final Logger logger = Logger
			.getLogger(ShowParamAction.class);
	private int id;
	private String name;

	public String showParam() {
		logger.info("enter showParam, id = " + id + ", name = " + name);
		return SUCCESS;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
